跳到主要内容

语音回执

我们会给每一通电话推送回执

响应元素

字段名类型描述默认值是否必填
batchIdstring批量提交ID""Yes
accountIdnumber账户ID0Yes
initiatedTimestampDate呼叫发起时间No
connectedTimestampDate呼叫接通时间No
disconnectedTimestampDate呼叫断开时间No
destinationstring呼叫的手机号Yes
callStatusstring呼叫状态: COMPLETED/FAILEDYes
callDurationnumber呼叫时长0Yes
errorDetailsErrorDetails错误信息No

ErrorDetails

字段名类型描述默认值是否必填
errorCodestring错误码0Yes
errorMsgstring错误信息""Yes

呼出成功示例

{
"sessionId": "4cba63df-303c-475f-8a64-14dd638c4668",
"accountId": 60000323,
"initiatedTimestamp": "2024-07-12T02:38:08Z",
"connectedTimestamp": "2024-07-12T02:38:08Z",
"disconnectedTimestamp": "2024-07-12T02:38:33Z",
"destination": "+55xxxxxxxx",
"callStatus": "COMPLETED",
"callDuration": 24,
"errorDetails": {}
}

呼出失败示例

{
"sessionId": "aee0ca6e-d37c-424b-ab45-0a7ddb43c398",
"accountId": 60000323,
"destination": "+5592994955887",
"callStatus": "FAILED",
"errorDetails": {
"errorCode": "NOCHAN",
"errorMsg": "NOCHAN"
}
}